//
//  WHlocationViewController.m
//  WHstoreItemProtect
//
//  Created by wztx on 2017/11/7.
//  Copyright © 2017年 sdwh.com. All rights reserved.
//

#import "WHlocationViewController.h"

@interface WHlocationViewController ()

@end

@implementation WHlocationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupUI];
}
#pragma MARK - UI
- (void)setupUI
{
    self.title = @"收货地址";
    
    UIBarButtonItem *GuanliItem = [[UIBarButtonItem alloc]initWithTitle:[NSString stringWithFormat:@"管理"] style:UIBarButtonItemStylePlain target:self action:@selector(jumpClick)];
    
    self.navigationItem.rightBarButtonItem = GuanliItem;
    
    UIBarButtonItem *backBtnItem = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"返回"] style:UIBarButtonItemStylePlain target:self action:@selector(popClick)];
    self.navigationItem.leftBarButtonItem = backBtnItem;
    
}
#pragma MARK - POP
- (void)popClick
{
    [self.navigationController popViewControllerAnimated:YES];
}
#pragma MARK - 管理地址
- (void)jumpClick
{
    NSLog(@"点击了管理地址");
}



@end
